package com.example.service;

import com.example.model.DateMessage;

import java.util.Date;
import java.util.List;

public interface IDateMessageService {
    int addDateMessage(DateMessage dateMessage);
    List<DateMessage> queryByGroupIdAndQQ(Date start, Date end,Long fromGroup, Long fromQQ);
    List<DateMessage> queryByGroupId(Date start,Date end,Long fromGroup);
    List<DateMessage> queryPeriod(Date start, Date end,String timeStart,String timeEnd,Long fromGroup, Long fromQQ);
}
